package com.lcx.movie.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;
import java.sql.Timestamp;
@TableName("user_ban")
@Component
@Data
public class UserBan {
  @TableId(value = "ban_id",type = IdType.INPUT)
  private long banId;
  @TableField(value = "user_id")
  private long userId;
  @TableField(value = "ban_time")
  private Timestamp banTime;
  @TableField(value = "unban_time")
  private Timestamp unbanTime;
  @TableField(value = "ban_status")
  private long banStatus;
  @TableField(value = "user_name")
  private String userName;
}
